package ca.etsmtl.log430.lab2.donnee;

import ca.etsmtl.log430.lab2.donnee.ifaces.CourseReader;
import ca.etsmtl.log430.lab2.donnee.ifaces.TeacherReader;
import ca.etsmtl.log430.lab2.donnee.txtreader.FileCourseReader;
import ca.etsmtl.log430.lab2.donnee.txtreader.FileTeacherReader;
public class ReaderFactory {

	private CourseReader courseReader;
	private TeacherReader teacherReader;
	public ReaderFactory(String courseFileName, String teacherFileName) {
		courseReader = new FileCourseReader(courseFileName);
		teacherReader = new FileTeacherReader(teacherFileName);
	}
	public CourseReader getCourseReader() {
		
		return courseReader;
	}
	public TeacherReader getTeacherReader() {
		return teacherReader;
	}
	public void setTeacherReader(TeacherReader teacherReader) {
		this.teacherReader = teacherReader;
	}
	public void setCourseReader(CourseReader courseReader) {
		this.courseReader = courseReader;
	}
	

}
